import mObserver from "./SelfVue/observer.js"
import mWatcher from "./SelfVue/watcher.js"
import mCompile from "./SelfVue/compile.js"
import SelfVue from "./SelfVue/index.js"
//1.实现一个Observer监听器，来实现对数据的监听
window.mObserver = mObserver;
//1.实现Watcher订阅者，来实现对数据的监听
window.mWatcher = mWatcher;
//3.连接监听器与订阅者
window.SelfVue = SelfVue;
//4.实现Compile
window.mCompile = mCompile;
// 使用方法
// var sv = new window.SelfVue({
//     el:"#hwzx_",
//     data:that.saveDatas,
//     mounted:function () {
//
//     },
//     render:function () {
//         that.saveDatas.sfxx= this.sfxx;
//         console.log(this.data)
//         console.log(that.saveDatas)
//         alert("sss")
//         var th = this;
//         setTimeout(function () {
//             layui.form.render("select");
//             th.c.init();
//         })
//     },
// });